package com.ye.personnel.api.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @Author: yeubo
 * @Date: 2023/11/8 11:15
 */

@Data
public class UserLoginDto {

    @ApiModelProperty(value = "登录账号",required = true)
    @NotEmpty(message = "请输入登录账号")
    private String userName;

    @ApiModelProperty(value = "登录账号",required = true)
    @NotEmpty(message = "请输入登录账号")
    private String password;

    @ApiModelProperty("时间戳(加密盐)")
    private Long timestamp;
}
